package com.ssm.helong.shop.service;


import com.ssm.helong.shop.entity.GoodsAttribute;
import com.ssm.helong.shop.pojo.Login;

public interface GoodsAttributeService {

    /**
     * 添加商品
     * @param goodsAttribute
     * @return
     */
    String addShopsGoods(GoodsAttribute goodsAttribute);

    /**
     * 修改商品信息
     * @param goodsAttribute
     * @return
     */
    String updateShopsGoods(GoodsAttribute goodsAttribute);

    /**
     * 获取商品信息
     * @param goodsId
     * @return
     */
    GoodsAttribute getShopsGoods(Integer goodsId);

    /**
     * 批量修改销售状态（0-下架 1-上架）
     * @param goodsIds
     * @param goodsSellStatus
     * @return
     */
    Boolean batchUpdateSellStatus(Integer[] goodsIds,Integer goodsSellStatus);


}
